<template>
  <div>
    <h4>component B value from A:{{ value }}</h4>
    <h4>component B valueB from itself:{{ valueB }}</h4>
    <slot name="c" :value="value" :valueB="valueB"></slot>
  </div>
</template>
<script>
export default {
  props: {
    value: {
      type: [String, Number]
    }
  },
  data: () => ({
    valueB: 'B'
  })
}
</script>
<style lang="">

</style>